//details.js
var app = getApp()

var pageConfig = {
  data: {
    thisTitle: "",
    detailsData: {},
    userInfo: {}
  },
  onLoad: function (options) {
    var that = this
    var src = options.src.split(",")
    var title = options.title
    // var src = s.split(",")
    console.log(options)
    console.log(src)
    that.setData({
      title: options.title,
      thisTitle: app.globalData.mcTitle[0],
      detailsData: {
        text: options.text,
        src: src,
        title: title
      }
    })
  }
}

Page(pageConfig)
